package com.cn.pack.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
public class ClientAController {

    @RequestMapping(path = "/get")
    public String get(HttpServletRequest request) {
        int port = request.getRemotePort();
        return "**************** client-a **************** port = " + port;
    }
}
